package com.atguigu.entity;

public class User {
	private String userName;
	private Integer userAge;

	public User() {
	}

	public User(String userName, Integer userAge) {
		this.userName = userName;
		this.userAge = userAge;
	}

	/**
	 * 获取
	 * @return userName
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * 设置
	 * @param userName
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * 获取
	 * @return userAge
	 */
	public Integer getUserAge() {
		return userAge;
	}

	/**
	 * 设置
	 * @param userAge
	 */
	public void setUserAge(Integer userAge) {
		this.userAge = userAge;
	}

	public String toString() {
		return "User{userName = " + userName + ", userAge = " + userAge + "}";
	}
}
